package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Permission;

import java.util.List;

/**
 * ClassName: PermissionService
 * Description:
 * date: 2019/12/1 20:18
 * Author Airson
 * Since JDK 1.8
 */
public interface PermissionService {
    

    List<Permission> findAll();

    void edit(Permission permission);

    Permission findById(Integer id);

    void delById(Integer id);

    PageResult queryPage(QueryPageBean queryPageBean);

    void add(Permission permission);
}
